package com.zj.generator.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * @TableName myuser
 */
@TableName(value ="myuser")
@Data
public class Myuser implements Serializable {
    private Integer id;

    private String userName;

    private Object sex;
    @JsonFormat(pattern = "yyyy-MM-dd",locale = "zh")
    private Date birthDate;

    private String address;

    private String idNo;
}